﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SAPAgentListLookUp.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.SAPAgentListLookUp" %>

<form id="pagerForm" method="post" action="SAPAgentListLookUp.aspx">
<input type="hidden" name="AgentName" value="<%=AgentName %>" />
<input type="hidden" name="target" value="<%=target %>" />
<input type="hidden" name="rel" value="<%=rel %>" />
<input type="hidden" name="orderField" value="<%=orderField %>" />
<input type="hidden" name="orderDirection" value="<%=orderDirection %>" />
<input type="hidden" name="pageNum" value="1" />
<input type="hidden" name="numPerPage" value="20" />
</form>
<form id="form1" runat="server" method="post" action="/MachineSys/SAPAgentListLookUp.aspx" onsubmit="return dialogSearch(this);">
<div class="pageHeader">
    <div class="searchBar">
        <input type="hidden" name="rel" value="<%=rel %>" />
        <input type="hidden" name="target" value="<%=target %>" />
        <table class="searchContent">
            <tr>
                <td>
                    真实名称： <input name="AgentName" type="text" value="<%=AgentName %>"  />
                </td>
                <td>
                     <div class="subBar">
                        <ul>
                            <li>
                                <div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
                            </li>
                        </ul>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</div>
<div class="pageContent">
    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="100%" layouth="65" targetType="dialog">
        <thead>
            <tr  >                
                <th width="60" >
                    代码
                </th>
                <th width="100">
                    代理商简称
                </th> 
                <th>               
                    全称
                </th> 
                <th >
                    公司地址
                </th> 
                <th width="30">
                    选中
                </th>                
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user" >
				<td><%# Eval("CardCode")%></td>
                <td><%# Eval("AliasName")%></td>
				<td><%# Eval("CardName")%></td>
				<td><%# Eval("Address")%></td>
			    <td>
					<a class="btnSelect" href="javascript:$.bringBack({AgentName:'<%# Eval("AliasName") %>', AgentAddress:'<%# Eval("Address")%>',target:'<%=target %>',rel:'<%=rel %>',LinkeName:'<%# Eval("LinkeName") %>',Tel1:'<%# Eval("Tel1") %>'})" title="查找带回">选择</a>
				</td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
</div>
</form>
